<form class="form-horizontal" role="form" name='cookbook_eidt_form'>
	<input type="hidden" name="cookbook_edit_id" value="<{$edit_data.cookbook_id}>">
  <div class="form-group">
    <label for="cookbook_eidt_img" class="col-sm-2 control-label">菜谱例图</label>
    <div class="col-sm-3">
      <input type="file" name="cookbook_img" id="cookbook_img" />
      <input type="hidden" name='cookbook_eidt_photo'/>
    </div>
    <img name='show_cookbook_eidt_img' alt="" src="<{$edit_data.cookbook_photo_src}>">
    <label class='click_show_edit_cbpic' class="col-sm-1 control-label">预览图片</label>
  </div>
  <div class="form-group">
    <label for="cookbook_eidt_name" class="col-sm-2 control-label">菜谱名称</label>
    <div class="col-sm-3">
      <input type="text" class="form-control" name='cookbook_eidt_name' id="cookbook_eidt_name" placeholder="菜谱名称" value="<{$edit_data.cookbook_name}>">
    </div>
  </div>

  <div class="form-group">
    <label for="cookbook_eidt_material" class="col-sm-2 control-label">菜谱原料</label>
    <div class="col-sm-5">
      <input type="text" class="form-control" name='cookbook_eidt_material' id="cookbook_eidt_material" placeholder="原料" value="<{$edit_data.cookbook_material}>">
    </div>
  </div>
  <div class="form-group">
    <label for="cookbook_eidt_description" class="col-sm-2 control-label">菜谱描述</label>
    <div class="col-sm-5">
      <input type="text" class="form-control" name='cookbook_eidt_description' id="cookbook_eidt_description" placeholder="描述" value="<{$edit_data.cookbook_description}>">
    </div>
  </div>
  <div class="form-group">
    <label for="cookbook_eidt_description" class="col-sm-2 control-label">菜谱内容</label>
    <div class="col-sm-5">
     <textarea id="edit_editor" type="text/plain" style='width:800px;height:300px;'><{$edit_data.cookbook_content}></textarea>
    </div>
  </div>
   
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="button" class="btn btn-primary cookbook_eidt_button">保存</button>
    </div>
  </div>
</form>